﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkConsign.aspx.cs" Inherits="Flow_Info_WorkConsign" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
        <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
    <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>
    <style type="text/css">
        <!--
        html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
        scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
        -->
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <br />
        <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#77acd0"
        style="border-collapse: collapse;">
            <% if(fnfs != null) { %> 
            <tr align="center" bgcolor="#b1d5ef">
                <td colspan="2" height="30px">
                    <b><%=fnfs.Base_newflow_name %></b>
                </td>
            </tr>
            <tr bgcolor="white" align="center">
                <td style="width:40%; height: 21px">
                    <font style="font-size:12px">
                        <%=fnfs.Sort_id %>:<%=fnfs.Prc_name %>(当前步骤) 
                    </font>
                </td>
                <td style="height: 21px" align="left">
                    <% if(fnfs.HtUser != null) { %>
                        <% foreach(object key in fnfs.HtUser.Keys) { %> 
                            <% if(!key.ToString().Equals(curLoginUser.LoginName)) { %> 
                                <font style="font-size:12px"><input name="zhuban" type="radio" value="<%=key.ToString() %>" /><%=fnfs.HtUser[key].ToString() %></font>
                            <% } %> 
                        <% } %> 
                    <% } %> 
                   <script type="text/javascript">
                        var myin = document.getElementsByTagName("input");
                        var x = 0; 
                        for(i = 0; i < myin.length; i++) {
                            if(myin[i].type == "radio") {
                                x++;
                            }
                        }  
                        if(x == 0) {
                            document.write("<font style='font-size:12px'>当前步骤没有可委托人员</font>");
                        }  
                   </script> 
                </td>
            </tr>
            <tr bgcolor="white">
                <td align="center" colspan="2" style="height: 30px">
                    <asp:Button ID="BtnSubmit" runat="server" Text="确定" Width="59px" OnClick="BtnSubmit_Click" />
                    <asp:Button ID="BtnBack" runat="server" Text="返回" Height="24px" Width="59px" OnClick="BtnBack_Click" /></td>
            </tr>
            <% } %> 
        </table>
    </div>
    </form>
</body>
</html>
